package com.ruoyi.kenuo.enums;

/**
 * 枚举类型
 */
public enum SmsMy {


    VALID(0,"SMS_193244348","您的手机验证码: ${code},请勿泄露，如非本人操作，请忽略此短信，谢谢！");

    private Integer num;

    private String templateCode;

    private String content;

    public Integer value(){return num;}

    SmsMy(Integer num,String templateCode,String content){
        this.num = num;
        this.templateCode = templateCode;
        this.content = content;
    }
    public static SmsMy instance(Integer value){
        SmsMy[] enums = values();
        for (SmsMy statusEnum :enums) {
            if(statusEnum.value().equals(value)){
                return statusEnum;
            }
        }
        return null;
    }
    public String getTemplateCode(){return this.templateCode;}

    public String getContent(){return this.content;}

    


}
